Tukey lambda distribution
Probability density function | |||
Notation | Tukey(λ) | ||
---|---|---|---|
Parameters | λ ∈ ℝ — shape parameter | ||
Support |
x ∈ [ − 1 /λ, 1 /λ ] if λ > 0 , x ∈ ℝ if λ ≤ 0 . | ||
[math]\displaystyle{ \left(\ Q(\ p\ ; \lambda\ ),\ \frac{ 1 }{\ q(\ p\ ; \lambda\ )\ }\ \right) \quad ~\mathsf{ for\ any }~ \quad p \; : \; 0 \leq\ p\ \leq\ 1 }[/math] | |||
CDF |
[math]\displaystyle{ \Bigl(\ Q(p;\lambda),\ p\ \Bigr) ~~\mathsf{ for\ any }~~ p\; : \; 0 \leq\ p\ \leq\ 1 ~ }[/math] (general case) [math]\displaystyle{ \frac{ 1 }{\ e^{-x} + 1\ } \quad ~\mathsf{ if }~ \quad \lambda\ =\ 0 \quad }[/math] (special case exact solution) | ||
Mean | [math]\displaystyle{ 0 \quad ~\mathsf{ if }~ \quad \lambda \gt -1\ }[/math] | ||
Median | 0 | ||
Mode | 0 | ||
Variance |
[math]\displaystyle{ \frac{ 2 }{\ \lambda^2\ } \left(\ \frac{ 1 }{\ 1 + 2\ \lambda\ } - \frac{\ \Gamma\,\!(\lambda + 1)^2\ }{\ \Gamma\,\!(\ 2\ \lambda + 2\ )\ } \right) \quad ~\mathsf{ if }~ \quad \lambda \gt -\tfrac{\ 1\ }{ 2 }\ }[/math] [math]\displaystyle{ \frac{\ \pi^{2}\ }{ 3 } \qquad \qquad ~\mathsf{ if }~ \quad \lambda\ =\ 0 }[/math] | ||
Skewness | [math]\displaystyle{ 0 \qquad \qquad ~\mathsf{ if }~ \quad \lambda \gt -\tfrac{\ 1\ }{ 3 }\ }[/math] | ||
Kurtosis |
[math]\displaystyle{ ~ \frac{\ (2\ \lambda + 1)^2 \cdot g_2^2 \cdot \big(\ 3\ g_2^2 - 4\ g_1\ g_3 + g_4\ \big)\ }{\ (\ 8\ \lambda + 2\ ) \cdot g_4 \cdot \big(\ g_1^2 - g_2\ \big)^2}\ -\ 3 \quad \mathsf{ if }~~ \lambda \gt 0\ , }[/math] [math]\displaystyle{ \frac{\ 6\ }{ 5 } \qquad \qquad ~\mathsf{ if }~ \quad \lambda\ =\ 0\ ; }[/math] [math]\displaystyle{ \mathsf{ where } \quad g_k\ \equiv\ \Gamma\,\!(\ k\,\lambda + 1\ ) \quad \mathsf{ and } \quad \lambda\ \gt -\tfrac{\ 1\ }{ 4 } ~. }[/math] | ||
Entropy | [math]\displaystyle{ h( \lambda ) = \int_0^1 \ln \bigl(\ q(p;\lambda)\ \bigr)\ \operatorname{d}p ~ }[/math][1] | ||
CF | [math]\displaystyle{ \phi(t;\lambda) = \int_0^1 \exp \bigl( \ i\ t\ Q(p;\lambda)\ \bigr)\ \operatorname{d}p ~ }[/math][2] |
Formalized by John Tukey, the Tukey lambda distribution is a continuous, symmetric probability distribution defined in terms of its quantile function. It is typically used to identify an appropriate distribution (see the comments below) and not used in statistical models directly.
The Tukey lambda distribution has a single shape parameter, λ, and as with other probability distributions, it can be transformed with a location parameter, μ, and a scale parameter, σ. Since the general form of probability distribution can be expressed in terms of the standard distribution, the subsequent formulas are given for the standard form of the function.
Quantile function
For the standard form of the Tukey lambda distribution, the quantile function, [math]\displaystyle{ ~ Q(p) ~, }[/math] (i.e. the inverse function to the cumulative distribution function) and the quantile density function, [math]\displaystyle{ ~ q = \frac{\ \operatorname{d}Q\ }{ \operatorname{d}p }\ , }[/math] are
- [math]\displaystyle{ \ Q\left(\ p\ ; \lambda\ \right) ~=~ \begin{cases} \tfrac{ 1 }{\ \lambda\ } \left[\ p^\lambda - (1 - p)^\lambda\ \right]\ , &\ \mbox{ if }\ \lambda \ne 0~, \\ {} \\ \ln\left( \frac{ p }{\ 1 - p\ } \right)~, &\ \mbox{ if }\ \lambda = 0 ~. \end{cases} }[/math]
- [math]\displaystyle{ q \left(\ p\ ; \lambda\ \right) ~=~ \frac{\ \operatorname{d}Q\ }{ \operatorname{d}p } ~=~ p^{ \lambda - 1 } + \left(\ 1 - p\ \right)^{ \lambda - 1 } ~. }[/math]
For most values of the shape parameter, λ, the probability density function (PDF) and cumulative distribution function (CDF) must be computed numerically. The Tukey lambda distribution has a simple, closed form for the CDF and / or PDF only for a few exceptional values of the shape parameter, for example: λ ∈ { 2, 1, 1 /2, 0 } (see uniform distribution [ cases λ = 1 and λ = 2 ] and the logistic distribution [ case λ = 0 ].
However, for any value of λ both the CDF and PDF can be tabulated for any number of cumulative probabilities, p, using the quantile function Q to calculate the value x, for each cumulative probability p, with the probability density given by 1/q, the reciprocal of the quantile density function. As is the usual case with statistical distributions, the Tukey lambda distribution can readily be used by looking up values in a prepared table.
Moments
The Tukey lambda distribution is symmetric around zero, therefore the expected value of this distribution, if it exists, is equal to zero. The variance exists for λ > − 1 /2 , and except when λ = 0 , is given by the formula
- [math]\displaystyle{ \operatorname{Var}[\ X\ ] = \frac{2}{\lambda^2}\bigg(\ \frac{ 1 }{\ 1 + 2\lambda\ } ~ - ~ \frac{\ \Gamma(\lambda+1)^2\ }{\ \Gamma(2\lambda+2)\ }\ \bigg) ~. }[/math]
More generally, the n-th order moment is finite when λ > −1 /n and is expressed (except when λ = 0 ) in terms of the beta function Β(x,y) :
- [math]\displaystyle{ \mu_n \equiv \operatorname{E}[\ X^n\ ] = \frac{1}{\lambda^n} \sum_{k=0}^n\ (-1)^k\ {n \choose k}\ \Beta(\ \lambda\ k + 1\ ,\ (n - k)\ \lambda + 1\ ) ~. }[/math]
Note that due to symmetry of the density function, all moments of odd orders, if they exist, are equal to zero.
L-moments
Differently from the central moments, L-moments can be expressed in a closed form. For [math]\displaystyle{ \lambda \gt -1\ , }[/math] the [math]\displaystyle{ \ r }[/math]th L-moment, [math]\displaystyle{ \ \ell_r\ , }[/math] is given by[3]
- [math]\displaystyle{ \begin{align} \ell_{r} &= \frac{\ 1 + (-1)^{r}\ }{ \lambda }\ \sum_{k=0}^{r-1}\ (-1)^{ r - 1 - k }\ \binom{r-1}{k}\ \binom{ r + k -1 }{ k }\ \left(\frac{ 1 }{\ k + 1 + \lambda\ } \right) \\ {} \\ &= \bigl( 1 + (-1)^{r} \bigr) \frac{\ \Gamma( 1 + \lambda )\ \Gamma( r - 1 - \lambda )\ }{\ \Gamma( 1 - \lambda )\ \Gamma( r + 1 + \lambda)\ } ~. \end{align} }[/math]
The first six L-moments can be presented as follows:[3]
- [math]\displaystyle{ \ell_{1} = ~~ 0\ , }[/math]
- [math]\displaystyle{ \ell_2 = \frac{ 2 }{\ \lambda\ }\ \left[\ -\frac{ 1 }{\ 1 + \lambda\ } + \frac{ 2 }{\ 2 + \lambda\ }\ \right]\ , }[/math]
- [math]\displaystyle{ \ell_3 = ~~ 0\ , }[/math]
- [math]\displaystyle{ \ell_4 = \frac{2}{\ \lambda\ }\ \left[ - \frac{ 1 }{\ 1 + \lambda\ } + \frac{ 12 }{\ 2 + \lambda\ } - \frac{ 3 0}{\ 3 + \lambda\ } + \frac{ 20 }{\ 4 + \lambda\ }\ \right]\ , }[/math]
- [math]\displaystyle{ \ell_5 = ~~ 0\ , }[/math]
- [math]\displaystyle{ \ell_6 = \frac{ 2 }{\ \lambda\ }\ \left[\ -\frac{ 1 }{\ 1 + \lambda\ } + \frac{ 30 }{\ 2 + \lambda\ } - \frac{ 210 }{\ 3 + \lambda\ } +\frac{ 560 }{\ 4 + \lambda\ } - \frac{ 630 }{\ 5 + \lambda\ } + \frac{ 252 }{\ 6 + \lambda\ }\ \right] ~. }[/math]
Comments
The Tukey lambda distribution is actually a family of distributions that can approximate a number of common distributions. For example,
λ ≈ −1 approx. Cauchy C( 0, π ) λ = 0 exactly logistic λ ≈ 0.14 approx. normal N( 0, 2.142± ) λ = 1 /2 strictly concave ([math]\displaystyle{ \cap }[/math]-shaped) λ = 1 exactly uniform U( −1, +1 ) λ = 2 exactly uniform U( − 1 /2 , + 1 /2 )
The most common use of this distribution is to generate a Tukey lambda PPCC plot of a data set. Based on the value for λ with best correlation, as shown on the PPCC plot, an appropriate model for the data is suggested. For example, if the best-fit of the curve to the data occurs for a value of λ at or near 0.14, then empirically the data could be well-modeled with a normal distribution. Values of λ less than 0.14 suggests a heavier-tailed distribution.
A milepost at λ = 0 (logistic) would indicate quite fat tails, with the extreme limit at λ = −1 , approximating Cauchy and small sample versions of the Student's t. That is, as the best-fit value of λ varies from thin tails at 0.14 towards fat tails −1, a bell-shaped PDF with increasingly heavy tails is suggested. Similarly, an optimal curve-fit value of λ greater than 0.14 suggests a distribution with exceptionally thin tails (based on the point of view that the normal distribution itself is thin-tailed to begin with; the exponential distribution is often chosen as the exemplar of tails intermediate between fat and thin).
Except for values of λ approaching 0 and those below, all the PDF functions discussed have finite support, between −1 /|λ| and +1 / |λ| .
Since the Tukey lambda distribution is a symmetric distribution, the use of the Tukey lambda PPCC plot to determine a reasonable distribution to model the data only applies to symmetric distributions. A histogram of the data should provide evidence as to whether the data can be reasonably modeled with a symmetric distribution.[4]
References
- ↑ Vasicek, Oldrich (1976). "A test for normality based on sample entropy". Journal of the Royal Statistical Society. Series B 38 (1): 54–59.
- ↑ Shaw, W.T.; McCabe, J. (2009), "Monte Carlo sampling given a characteristic function: Quantile mechanics in momentum space", arXiv:0903.1592 [q-fin.CP]
- ↑ 3.0 3.1 Karvanen, Juha; Nuutinen, Arto (2008). "Characterizing the generalized lambda distribution by L-moments". Computational Statistics & Data Analysis 52 (4): 1971–1983. doi:10.1016/j.csda.2007.06.021.
- ↑ Joiner, Brian L.; Rosenblatt, Joan R. (1971). "Some properties of the range in samples from Tukey's symmetric lambda distributions". Journal of the American Statistical Association 66 (334): 394–399. doi:10.2307/2283943.
External links
- "Tukey-Lambda distribution". US NIST Information Technology Laboratory. 1.3.6.6.15. http://www.itl.nist.gov/div898/handbook/eda/section3/eda366f.htm.
This article incorporates public domain material from the National Institute of Standards and Technology website https://www.nist.gov.
Original source: https://en.wikipedia.org/wiki/Tukey lambda distribution.
Read more |